package com.bw.home.intent

import com.bw.home.model.entity.CommentEntity
import com.bw.mvicore.IIntent

/**
 * @author:created by hahajing
 * 时间：2024/5/6 0006
 * 企鹅号:444511958
 * 描述:
 */
sealed class CommentIntent:IIntent {
    //发布评论
    data class PublishCommentIntent(val entity:CommentEntity):CommentIntent()
    //删除评论
    data class RemoveCommentIntent(val id:Int):CommentIntent()
    //获取评论
    data class GetCommentsIntent(val datatype:Int,val itemid:String):CommentIntent()
    //对评论点赞
    data class AgreeCommentIntent(val commentid:Int):CommentIntent()
    //取消评论点赞
    data class UnAgreeCommentIntent(val commentid:Int):CommentIntent()
}